home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / GE1050.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  4.1 KB  |  145 lines

  1. name GE1050
  2.  
  3. % 00
  4. \ 00
  5. & 00
  6. / 00
  7. ? 00
  8. O >3.2 M
  9. N >4
  10. G 2
  11. D 2
  12. X -3>4
  13. Y -3>4
  14. A -00 X
  15. B -00 Y
  16. R -3>4
  17. Z -3>4
  18. I -3>4
  19. J -3>4
  20. Q -3>4
  21. P -3>4
  22. F 3>2
  23. K -3>4
  24. S >4
  25. T 2
  26. M 2
  27. H 2 D
  28. $ 00
  29.  
  30. ModalLetters X Y Z F R                # List of letters that are modal    
  31.  
  32. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85 86 87  # List of g codes that are modal    
  33.  
  34. Sequence#s N 1 2 1000                 # Char, freq, incr & start          
  35. First#? N                             # Y or N  'Output 1st sequence no.  
  36. Last#? N                              # Y or N  'Output last sequence no. 
  37.  
  38. HCode X                               # X or X U  'Horizontal char.       
  39. VCode Y                               # Y or Y V  'Vertical char.         
  40. Dcode Z                               # Depth char.                       
  41. FeedCode F                            # Feed rate char.                   
  42.  
  43. Comment                               # Begin End comment char.           
  44.  
  45. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  46. Coolant 8 9 7                         # On, Off & Mist m codes            
  47. DComp 41 42 40                        # Left, Right & Cancel m codes      
  48. LComp 86 87                           # On & Off codes                    
  49.  
  50. Feed G1                             # Linear move                       
  51. Rapid G0                            # Rapid positioning word            
  52. Cw G2                               # Circular move clockwise           
  53. Ccw G3                              # Circular move counter clockwise   
  54.  
  55. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  56.  
  57. CtrCode I J                           # I J or R or I J K L               
  58. Helical? N
  59.  
  60. Spaces? N                             # Y or N  'Spaces between words     
  61.  
  62. Incremental? N                        # Y or N  'Inc or abs output        
  63. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  64. ByQuadrants? Y                        # Y or N  'Break arcs at quadrants  
  65.  
  66. RevSigns R Z                          # List of letters to reverse signs  
  67.  
  68. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  69.  
  70. Drill                                 # Drilling canned/manual cycle      
  71. G81 X[H] Y[V] R[Vclear] Z[D] F[FRate]
  72. end cancel
  73.  
  74. Peck                                  # Pecking canned/manual cycle       
  75. G83 X[H] Y[V] Q[VBite] R[Vclear] Z[D] F[FRate]
  76. end cancel
  77.  
  78. Tap                                   # Tapping canned/manual cycle       
  79. G84 X[H] Y[V] R[Vclear] Z[D]
  80. end cancel
  81.  
  82. LTap                                  # Left handed tapping cycle         
  83. G74 X[H] Y[V] R[Vclear] Z[D]
  84. end cancel
  85.  
  86. Ream                                  # Reaming canned/manual cycle       
  87. G85 X[H] Y[V] R[Vclear] Z[D] F[FRate]
  88. end cancel
  89.  
  90. Bore                                  # Boring canned/manual cycle        
  91. G86 X[H] Y[V] R[Vclear] Z[D] F[FRate]
  92. end cancel
  93.  
  94. Back                                  # Back boring canned/manual cycle   
  95. G87 X[H] Y[V] R[Vclear] Z[D] F[FRate]
  96. end cancel
  97.  
  98. Cancel                                # Cancel a canned/manual cycle      
  99. end
  100.  
  101. StartCode                             # Start of the program              
  102. %0
  103. End
  104.  
  105. 1stToolChange                         # First tool change                 
  106. \0 &0 /0 $0
  107. \0 ?0 O[Program#] $0
  108. \0 &0 /0 $0
  109. \0 T[Tool] $0
  110. G90 M[Direct]
  111. G0 X[H] Y[V] S[Speed] T[Tool] M6
  112. G86 R[RPlane] Z[D] F[Plunge] H[LComp]
  113. End
  114.  
  115. Infeed                                # Enable cutter comp                
  116. G[Side] D[DComp] X[H] Y[V] F[Frate]
  117. end
  118.  
  119. Outfeed                               # Disable cutter comp               
  120. G40
  121. G0 Z[D]
  122. end
  123.  
  124. ToolChange                            # Secondary tool changes            
  125. G80 M06
  126. M01
  127. \0 T[Tool] $0
  128. G90 M[Direct]
  129. G0 X[H] Y[V] S[Speed] T[Tool] M6
  130. G86 R[RPlane] Z[D] F[Plunge] H[LComp]
  131. End
  132.  
  133. EndCode                               # End of the program                
  134. G80 M06
  135. M02
  136. %0
  137. End
  138.  
  139. Replace "\" with "*****"
  140. Replace "&" with "*************"
  141. Replace "/" with "**********"
  142. Replace "$" with "*****"
  143. Replace "?" with "PROGRAM # "
  144. replace "." with "D"
  145.